import Index from '@/components/index/Index'
import System from './system'
import indexLayout from '@/components/index/IndexLayout'

export default [
  {
    path: '/',
    name: 'home',
    redirect: { path: '/index/index' },
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/index/',
    component: indexLayout,
    meta: {
      requireAuth: true
    },
    children: [
      {
        path: 'index',
        component: Index
      },
      System
    ]
  }
]
